
const Portal = () => import(/* webpackChunkName: "portal" */ '@/views/portal/index')
const Breed = () => import(/* webpackChunkName: "养殖" */ '@/views/portal/breed')
const Market = () => import(/* webpackChunkName: "行情" */ '@/views/portal/market')
const List = () => import(/* webpackChunkName: "文章类别列表" */ '@/views/portal/list')
const Test = () => import(/* webpackChunkName: "加载更多" */ '@/views/portal/test')

export default [
  {
    path: '/', //首页 
    name: 'index',
    component: Portal,
    meta: { showTab: true },
  },
  {
    path: '/portal/breed', //养殖
    name: 'breed',
    component: Breed,
    meta: { showTab: true, tabIndex: 1 },
  },
  {
    path: '/portal/market', //行情
    name: 'market',
    component: Market,
    meta: { showTab: true, tabIndex: 2 },
  },
  {
    path: '/portal/list/:catid', //文章类别列表
    name: 'portalList',
    component: Portal,
    meta: { showTab: true },
  },
  {
    path: '/test', //文章类别列表
    name: 'test',
    component: Test,
  },
]
